project(test_add)
add_executable(${PROJECT_NAME} test.cpp)

target_link_libraries(${PROJECT_NAME} CMakeTest)

add_test(NAME ${PROJECT_NAME}
  COMMAND ${PROJECT_NAME})